package com.ruoyi.project.goods.bill.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 发货单对象 goods_bill
 * 
 * @author lonsn
 * @date 2021-05-19
 */
public class GoodsBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发货单号 */
    @Excel(name = "发货单号")
    private String billNo;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 总价 */
    @Excel(name = "总价")
    private Double totalPrice;

    /** 收货仓库 */
    @Excel(name = "收货仓库")
    private Integer deptId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    @Excel(name="仓库名称")
    private String deptName;

    public void setBillNo(String billNo)
    {
        this.billNo = billNo;
    }

    public String getBillNo()
    {
        return billNo;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setTotalPrice(Double totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public Double getTotalPrice()
    {
        return totalPrice;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billNo", getBillNo())
            .append("quantity", getQuantity())
            .append("totalPrice", getTotalPrice())
            .append("deptId", getDeptId())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
